<?xml version="1.0" encoding="utf-8" ?> 
<Feature id="Security" name="Provides base security features for rules and custom application resources (i.e. pages, controls, etc)">
	<Dependencies>
		<Dependency type="feature">BaseFrameworkFeature.xml</Dependency>
	</Dependencies>
  <!--
	<ClassFactory id="BizRuleDecorators">
		<Class name="security" type="Swaf.Security.SecurityRuleDecorator,SwafCore" />
	</ClassFactory>
  -->
  <ClassFactory id="BizRuleDecorators">
    <Class name="security" type="Swaf.Security.DynSecurityRuleDecorator,SwafCore" />
  </ClassFactory>
  <ClassFactory id="ResourceSets">
		<Class name="ResourceSet" type="Swaf.Security.Resources.ResourceSet,SwafCore" />
    <Class name="DynamicResourceSet" type="Swaf.Security.PartneredResourceSet,SwafCore" />
  </ClassFactory>
  <ClassFactory id="Resources">
		<Class name="PageRsc" type="Swaf.Security.Resources.Page,SwafCore" />
		<Class name="BizRuleRsc" type="Swaf.Security.Resources.BizRule,SwafCore" />
		<Class name="UIElementRsc" type="Swaf.Security.Resources.UIElement,SwafCore" />
		<Class name="MenuElementRsc" type="Swaf.Security.Resources.MenuElement,SwafCore" />
	</ClassFactory>
	<Security>
		<SecurityPrincipal class="Swaf.Security.SecurityPrincipal,SwafCore" deepCloneResourceSets="false"/>
		<DefaultPrincipal userName="CSFDefaultUser"/>
	</Security>
</Feature>